import {get,post} from './axios.js'

export const getCustomerPage = (pageInfo,name,type)=>get("springboot/customer/getPage?curr="+pageInfo.currentPage4+"&size="+pageInfo.pageSize4+
	"&name="+name+
	"&type="+type)
export const queryFreeRoom = ()=>get("springboot/room/queryFreeRoom")
export const addUserAxios = (userForm)=>post("springboot/customer/addUser",userForm)
export const delUserAxios = (id,bednum,state)=>get("springboot/customer/delUser?id="+id+"&bednum="+bednum+"&state="+state)
export const updateUserAxios = (userForm)=>post("springboot/customer/updateUser",userForm)
export const delUserManyAxios = (selectedUser)=>post("springboot/customer/delUserMany",selectedUser)